package com.atmk.atmk.designMode.创建型.工厂模式.工厂方法.具体工厂;


import com.atmk.atmk.designMode.创建型.工厂模式.工厂方法.具体产品.Xiaomi;
import com.atmk.atmk.designMode.创建型.工厂模式.工厂方法.抽象产品.Phone;
import com.atmk.atmk.designMode.创建型.工厂模式.工厂方法.抽象工厂.PhoneFactory;

public class XiaomiFactory implements PhoneFactory {
    @Override
    public Phone getPhone() {
        return new Xiaomi();
    }
}

